package com.lujieni.domain.po;
import com.lujieni.mybatis.entity.BasicEntity;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Package: com.lujieni.tkmapper.domain.po
 * @ClassName: PersonPO
 * @Author: lujieni
 * @Description: t_person实体类
 * @Date: 2020-12-17 17:27
 * @Version: 1.0
 */
@Table(name = "t_person")
@Data
public class PersonPO extends BasicEntity {

    private String myName;

    private Integer myAge;

    @Transient
    private String kind;// >=18 成年人 否则未成年人

    @Transient
    private String createTimeValue;

    @Transient
    private String modifyTimeValue;

    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }

    public Integer getMyAge() {
        return myAge;
    }

    public void setMyAge(Integer myAge) {
        this.myAge = myAge;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getCreateTimeValue() {
        return createTimeValue;
    }

    public void setCreateTimeValue(String createTimeValue) {
        this.createTimeValue = createTimeValue;
    }

    public String getModifyTimeValue() {
        return modifyTimeValue;
    }

    public void setModifyTimeValue(String modifyTimeValue) {
        this.modifyTimeValue = modifyTimeValue;
    }

    @Override
    public String toString() {
        return "PersonPO{" +
                "myName='" + myName + '\'' +
                ", myAge=" + myAge +
                ", kind='" + kind + '\'' +
                ", createTimeValue='" + createTimeValue + '\'' +
                ", modifyTimeValue='" + modifyTimeValue + '\'' +
                '}';
    }
}